package com.e.dianshang.mapper;
import com.e.dianshang.pojo.Brand;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface BrandMapper extends Mapper<Brand>{

    //根据品牌查找对应的规格
    List<Map<String,Object>> findGoodsByBrand(Integer id);

    //根据品牌及对应的规格找商品
    List<Map<String,Object>> findGoodsAllByBrand(Integer id,String memory,String color,String size);

}
